package com.auth.domain;

import java.sql.*;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
import java.util.ArrayList;
import com.common.utils.BaseDoamin;
import org.springframework.format.annotation.DateTimeFormat;

public class T_function extends BaseDoamin implements Serializable, Comparable<T_function>
{
    /********************************* properties *****************************/

	private Integer functid;
	private String functname;
	private Integer parentid;
	private String functlevel;
	private String functtype;
	private String status;
	private String memo;
	private String systemid;
	private String ext1;
	private String ext2;
	private String ext3;
	private String createuserid;
	private String createtime;
	private String lastupdateuserid;
	private String lastupdatetime;
	private Integer showseq;
	private String url;
	private String pic;

    /****************************** default construct**************************/

	public T_function()
	{
	}

    /*********************************** method *******************************/

	/**
	 * get functid
	 * @return functid
	 */
	public Integer getFunctid()
	{
		return functid;
	}

	/**
	 * set functid
	 * @param functid
	 */
	public void setFunctid( Integer functid)
	{
		this.functid = functid;
	}
	/**
	 * get functname
	 * @return functname
	 */
	public String getFunctname()
	{
		return functname;
	}

	/**
	 * set functname
	 * @param functname
	 */
	public void setFunctname( String functname)
	{
		this.functname = functname;
	}
	/**
	 * get parentid
	 * @return parentid
	 */
	public Integer getParentid()
	{
		return parentid;
	}

	/**
	 * set parentid
	 * @param parentid
	 */
	public void setParentid( Integer parentid)
	{
		this.parentid = parentid;
	}
	/**
	 * get functlevel
	 * @return functlevel
	 */
	public String getFunctlevel()
	{
		return functlevel;
	}

	/**
	 * set functlevel
	 * @param functlevel
	 */
	public void setFunctlevel( String functlevel)
	{
		this.functlevel = functlevel;
	}
	/**
	 * get functtype
	 * @return functtype
	 */
	public String getFuncttype()
	{
		return functtype;
	}

	/**
	 * set functtype
	 * @param functtype
	 */
	public void setFuncttype( String functtype)
	{
		this.functtype = functtype;
	}
	/**
	 * get status
	 * @return status
	 */
	public String getStatus()
	{
		return status;
	}

	/**
	 * set status
	 * @param status
	 */
	public void setStatus( String status)
	{
		this.status = status;
	}
	/**
	 * get memo
	 * @return memo
	 */
	public String getMemo()
	{
		return memo;
	}

	/**
	 * set memo
	 * @param memo
	 */
	public void setMemo( String memo)
	{
		this.memo = memo;
	}
	/**
	 * get systemid
	 * @return systemid
	 */
	public String getSystemid()
	{
		return systemid;
	}

	/**
	 * set systemid
	 * @param systemid
	 */
	public void setSystemid( String systemid)
	{
		this.systemid = systemid;
	}
	/**
	 * get ext1
	 * @return ext1
	 */
	public String getExt1()
	{
		return ext1;
	}

	/**
	 * set ext1
	 * @param ext1
	 */
	public void setExt1( String ext1)
	{
		this.ext1 = ext1;
	}
	/**
	 * get ext2
	 * @return ext2
	 */
	public String getExt2()
	{
		return ext2;
	}

	/**
	 * set ext2
	 * @param ext2
	 */
	public void setExt2( String ext2)
	{
		this.ext2 = ext2;
	}
	/**
	 * get ext3
	 * @return ext3
	 */
	public String getExt3()
	{
		return ext3;
	}

	/**
	 * set ext3
	 * @param ext3
	 */
	public void setExt3( String ext3)
	{
		this.ext3 = ext3;
	}
	/**
	 * get createuserid
	 * @return createuserid
	 */
	public String getCreateuserid()
	{
		return createuserid;
	}

	/**
	 * set createuserid
	 * @param createuserid
	 */
	public void setCreateuserid( String createuserid)
	{
		this.createuserid = createuserid;
	}
	/**
	 * get createtime
	 * @return createtime
	 */
	public String getCreatetime()
	{
		return createtime;
	}

	/**
	 * set createtime
	 * @param createtime
	 */
	public void setCreatetime( String createtime)
	{
		this.createtime = createtime;
	}
	/**
	 * get lastupdateuserid
	 * @return lastupdateuserid
	 */
	public String getLastupdateuserid()
	{
		return lastupdateuserid;
	}

	/**
	 * set lastupdateuserid
	 * @param lastupdateuserid
	 */
	public void setLastupdateuserid( String lastupdateuserid)
	{
		this.lastupdateuserid = lastupdateuserid;
	}
	/**
	 * get lastupdatetime
	 * @return lastupdatetime
	 */
	public String getLastupdatetime()
	{
		return lastupdatetime;
	}

	/**
	 * set lastupdatetime
	 * @param lastupdatetime
	 */
	public void setLastupdatetime( String lastupdatetime)
	{
		this.lastupdatetime = lastupdatetime;
	}
	/**
	 * get showseq
	 * @return showseq
	 */
	public Integer getShowseq()
	{
		return showseq;
	}

	/**
	 * set showseq
	 * @param showseq
	 */
	public void setShowseq( Integer showseq)
	{
		this.showseq = showseq;
	}
	/**
	 * get url
	 * @return url
	 */
	public String getUrl()
	{
		return url;
	}

	/**
	 * set url
	 * @param url
	 */
	public void setUrl( String url)
	{
		this.url = url;
	}
	/**
	 * get pic
	 * @return pic
	 */
	public String getPic()
	{
		return pic;
	}

	/**
	 * set pic
	 * @param pic
	 */
	public void setPic( String pic)
	{
		this.pic = pic;
	}

    @Override
	public String toString() {
		return "T_function [	"+
	    " functid=" + functid + ","+
	    " functname=" + functname + ","+
	    " parentid=" + parentid + ","+
	    " functlevel=" + functlevel + ","+
	    " functtype=" + functtype + ","+
	    " status=" + status + ","+
	    " memo=" + memo + ","+
	    " systemid=" + systemid + ","+
	    " ext1=" + ext1 + ","+
	    " ext2=" + ext2 + ","+
	    " ext3=" + ext3 + ","+
	    " createuserid=" + createuserid + ","+
	    " createtime=" + createtime + ","+
	    " lastupdateuserid=" + lastupdateuserid + ","+
	    " lastupdatetime=" + lastupdatetime + ","+
	    " showseq=" + showseq + ","+
	    " url=" + url + ","+
	    " pic=" + pic + ","+
	    "]";
    }

	public int compareTo(T_function arg0) {
		return this.getShowseq().compareTo(arg0.getShowseq());
	}
}














